package com.woniuxy.exception.customException;

public class AccountIsUnpermitted extends Exception{
    @Override
    public String getMessage() {
        return "账号被禁用";
    }

    public AccountIsUnpermitted() {
        super();
    }

    public AccountIsUnpermitted(String message) {
        super("账号被禁用");
    }

    public AccountIsUnpermitted(String message, Throwable cause) {
        super("账号被禁用", cause);
    }

    public AccountIsUnpermitted(Throwable cause) {
        super("账号的状态为被禁用状态");
    }

    protected AccountIsUnpermitted(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
